home *** CD-ROM | disk | FTP | other *** search
/ Linux Cubed Series 8: LINUX Games / Linux Cubed Series 8 - LINUX Games.iso / games / doom / linux-do.000 / linux-do / doom-1.8 / README.config < prev    next >
Text File  |  1994-12-10  |  12KB  |  333 lines

  1. # You can actually use this file as a config file for svgalib by copying
  2. # it to /usr/local/lib/libvga.config. However this is not recommended
  3. # because of the size of this file. So better remove any unneeded lines
  4. # from this file before using it as config file.
  5.  
  6. # As you have probably guessed already, everything between '#' and the
  7. # end of the line is ignored. Empty lines are also ignored. Since
  8. # the driver you will use may not know all config options here, unknown
  9. # commands are silently ignored. Please think of that when something
  10. # does not work as you expect. Multiple commands are allowed in one line
  11.  
  12. # New style options are in general case insensitive whereas the old style
  13. # options are case sensitive. The old style options are included to
  14. # allow for old config files being used.
  15.  
  16. # However there is one difference: The new style config expects a blank
  17. # between each command. That is m2M4 won't work anymore. It would be
  18. # parsed as a single config command. You have to specify m2 M4 in this
  19. # situation.
  20.  
  21. # The environment variable SVGALIB_CONFIG is parsed like a line in this
  22. # file after the real config file is parsed. Note that some config
  23. # commands are disabled in SVGALIB_CONFIG for safety by default.
  24.  
  25. # Note that you will have to delete the # before the example config commands
  26. # to activate them.
  27.  
  28. # General options (handled by libvga):
  29.  
  30. # Mouse setting:
  31. # mouse mousetype where mousetype is one of:
  32. # Microsoft, MouseSystems, MMSeries, Logitech, Busmouse, or none.
  33.  
  34. # That is for example:
  35.  
  36. # mouse Microsoft
  37. # mouse MouseSystems
  38. # mouse MMSeries
  39. # mouse Logitech
  40. # mouse Busmouse
  41. # mouse none
  42.  
  43. # You can also specify the type by numbers:
  44.  
  45. # mouse 0 # Microsoft
  46. # mouse 1 # MouseSystems
  47. # mouse 2 # MMSeries
  48. # mouse 3 # Logitech
  49. # mouse 4 # Busmouse
  50. # mouse 9 # none
  51.  
  52. # Or in old style:
  53.  
  54. # m0 # Microsoft
  55. # m1 # MouseSystems
  56. # m2 # MMSeries
  57. # m3 # Logitech
  58. # m4 # Busmouse
  59. # m9 # none
  60.  
  61. # Whitespace between m and the digit is allowed.
  62.  
  63. # Monitor setting:
  64. # monitor monitor class where monitor class is a digit from 0 to 6 or the
  65. # horizontal frequency in kHz. Examples:
  66.  
  67. # monitor 0 # Max horizontal sync is 31.5 kHz
  68. # monitor 1 # Max horizontal sync is 35.1 kHz
  69. # monitor 2 # Max horizontal sync is 35.5 kHz
  70. # monitor 3 # Max horizontal sync is 37.9 kHz
  71. # monitor 4 # Max horizontal sync is 48.3 kHz
  72. # monitor 5 # Max horizontal sync is 56.0 kHz
  73. # monitor 6 # No restrictions.
  74.  
  75. # For your convenience you may specify the max horizontal sync explicitly. The
  76. # correct class will the be chosen. You may use floats consisting of digits
  77. # and a decimal point for this too:
  78.  
  79. # monitor 40.0 # equivalent to monitor 3
  80. # Everything above 59 is considered as monitor 6.
  81. # For compatibility the following are also supported:
  82.  
  83. # M0 # Max horizontal sync is 31.5 kHz
  84. # M1 # Max horizontal sync is 35.1 kHz
  85. # M2 # Max horizontal sync is 35.5 kHz
  86. # M3 # Max horizontal sync is 37.9 kHz
  87. # M4 # Max horizontal sync is 48.3 kHz
  88. # M5 # Max horizontal sync is 56.0 kHz
  89. # M6 # No restrictions.
  90.  
  91. # Whitespace between M and the digit is allowed.
  92. # This command is not allowed in SVGALIB_CONFIG by default.
  93.  
  94. # Chipset enforcement: If auto detection fails you may force detection of
  95. # you chipset with "chipset type" where type is (currently ;) ) one of
  96. # VGA, ET4000, Cirrus, TVGA, Oak, EGA, S3, ET3000, or Mach32
  97. # Examples:
  98.  
  99. # chipset VGA
  100. # chipset ET4000
  101. # chipset Cirrus
  102. # chipset TVGA
  103. # chipset Oak
  104. # chipset EGA
  105. # chipset S3
  106. # chipset ET3000
  107. # chipset Mach32
  108.  
  109. # There is also an old style way for this:
  110.  
  111. # C1 # chipset VGA
  112. # C2 # chipset ET4000
  113. # C3 # chipset Cirrus
  114. # C4 # chipset TVGA
  115. # C5 # chipset Oak
  116. # C6 # chipset EGA
  117. # C7 # chipset S3
  118. # C8 # chipset ET3000
  119. # C9 # chipset Mach32
  120.  
  121. # C0 # Auto-detect.
  122.  
  123. # Warning, incorrect settings may damage your hardware.
  124. # No whitespace is allowed between the C and the digit.
  125. # This command is not allowed in SVGALIB_CONFIG by default.
  126.  
  127. # If the size of memory or additional info is misdetected use this form:
  128.  
  129. # chipset Mach32 0 2048
  130.  
  131. # Note that always two integers have to be specified. Usually (mach32)
  132. # the second parameter is the memory amount. Look at the *_init function
  133. # of the specific device driver. Values you have to specify to force dac type
  134. # and type of memory-aperture for mach32 can be found in mach32.h
  135.  
  136. # This form is also not allowed in SVGALIB_CONFIG by default.
  137.  
  138. # Specific options are required for the EGA-driver:
  139.  
  140. # monotext  # Card is in monochrome emulation mode
  141. # colortext # Card is in color emulation mode
  142.  
  143. # Old style form:
  144.  
  145. # c0 # Card is in monochrome emulation mode
  146. # c1 # Card is in color emulation mode
  147. # No whitespace is allowed between the c and the digit.
  148. # This command is not allowed in SVGALIB_CONFIG by default.
  149.  
  150. # Miscanellous options:
  151.  
  152. # verbose  # Mach32: show messages while processing all info to build up a
  153. # mode table.
  154. # quiet    # Turn verbose messages off (default)
  155.  
  156. # nolinear # Inhibit use of a linear mmaped frame buffer.
  157. # linear   # Allow (not enforce!) use of a linear mmaped frame buffer.
  158.  
  159. # overrideenable # Allow "dangerous" commands in SVGALIB_CONFIG.
  160.  
  161. # Options that may be useful for all drivers, but currently are only supported
  162. # by Mach32:
  163.  
  164. # maxclock16 maxclk # The maximal clock to use for 16bpp modes. This is
  165. # used by mach32 to find out which settings may be used for 16bpp modes.
  166. # the mach32 default for this is 2000, thus it is effectively switched off.
  167.  
  168. # maxclock16 2000
  169.  
  170. # maxclock24 maxclk # The maximal clock to use for 24bpp modes. (see above)
  171. # Experience showed that the mach32 default 49 is good for my 2MB VRAM card.
  172.  
  173. # maxclock24 49
  174.  
  175. # maxclock32 maxclk # The same for 32bpp modes (24bpp with one fill byte for
  176. # faster memory access (not fully implemented (esp. for Mach32) yet).
  177. # mach32 default (good for my VRAM card) is:
  178.  
  179. # maxclock32 39
  180.  
  181. # maxclock8 maxclk # Just for completeness the same for 8bpp modes.
  182. # default is:
  183.  
  184. # maxclock8 2000
  185.  
  186. # Thus you can consider it switched off.
  187.  
  188. # clocks list of clocks # Sets the frequencies of the clocks the chips can
  189. # generate. Exactly 16 values have to be specified for mach32.
  190. # Use 0 to disable a specific clock.
  191. # Note that the mach32 can divide clocks by 2. Thus there are actually 32 clocks
  192. # And you can also use the divided clocks in a define command.
  193. # In difference to Xconfig only integers allowed.
  194. # This line is mandatory for Mach32. If it is not there it will be auto detected
  195. # and added at the beginning of the config file.
  196.  
  197. # Values for Mach32:
  198.  
  199. # clock chip 18811-0:
  200. # clocks 43 49 92 36 50 56 0 45 30 32 110 80 40 45 75 65
  201.  
  202. # clock chip 18811-1:
  203. # due to Xfree86 info valid for: Ultra pro ISA, Ultra pro EISA,
  204. # Ultra pro VLB(68800-3)
  205. # clocks 100 126 92 36 50 56 0 45 135 32 110 80 40 45 75 65
  206.  
  207. # clock chip 1881 (ICS2494):
  208. # due to Xfree86 info valid for: Ultra pro VLB (6880006)
  209. # clocks 18 22 25 28 36 44 50 56 30 32 37 39 40 0 75 65
  210.  
  211. # In my own correspondence with ATI they say every Mach32 would have a
  212. # 18811-1, so it maybe possible just to take the 18811-1 line.
  213.  
  214. # Sometimes a mode cannot be realized with the logical linelength = pixels in
  215. # a row * bytes per pixel. (true for Mach32 800x600). The default behavior
  216. # of mach32 is to adjust xbytes in the info table appropriate, but you can
  217. # select:
  218.  
  219. # variablelinelength # Adjust xbytes appropriate, thus overriding the standard
  220. # svgalib mode. This may yield to problems with ..umm.. not well designed
  221. # applications. This is the mach32 default.
  222.  
  223. # duplicatelinelength # Don't touch the standard mode but create an exact
  224. # copy, an dynamic mode, with the adjusted xbytes value.  Expect noise at some
  225. # pixels in 800x600 for more than 256 colors on mach32 when not using the dynamic
  226. # mode.
  227.  
  228. # strictlinelength # Same as above but delete the standard mode thus creating
  229. # the non conforming xbytes modes only as dynamic modes.
  230.  
  231. # To enforce the standard linelength for non-conforming modes use setlinelength
  232. # below.
  233.  
  234. # In the following commands a mode is specified with horzXvertXcolors.
  235. # Valid settings for colors in the mach32 driver are: 256, 32K, 64K, 16M, 16M4.
  236. # 16M4 is for the 16M colors with 32bpp modes. These are expected to support
  237. # slightly faster drawing.
  238.  
  239. # Examples: 640x480x256, 1024x768x64K, etc..
  240.  
  241. # Inhibit mode1 [mode2 mode3...] # Switch the specified SVGA-Modes of:
  242.  
  243. # Inhibit 800x600x32K 800x600x64K 800x600x16M # Disallow the maybe toasted
  244. # mach32 800x600 modes.
  245.  
  246. # setlinelength length mode1 [mode2 mode3...] # Force the logical line length
  247. # (xbytes) in the given modes to length pixels (not bytes!)
  248. # see also variablelinelength, strictlinelength, duplicatelinelength above.
  249.  
  250. # setlinelength 800 800x600x32K 800x600x64K 800x600x16M
  251.  
  252. # define mode1 [mode2 mode3 .... ] clock horz_timing vert_timing flags
  253. # where clock is a clock in MHz (in integer! Has to be known by the driver.
  254. # (one of the set clocks, or the exact half of them) only clocks in a clocks
  255. # before the define can be used.
  256. # You may use :n to specify the n-th clock (n=0..31 for mach32).
  257. # horz_timing are four ints: hdisp h_sync_strt h_sync_wid h_total.
  258. # vert_timing has the same format but for vertical. You may specify one or
  259. # more flags out of: Interlace, +vsync, -vsync, +hsync, -hsync, to select
  260. # interlace mode and polarity of sync signals. This format is almost the same
  261. # Xfree uses, s.t. you may use their mode table and the modegen spreadsheat
  262. # package for mode creation. Here is a 1024x768x256 mode as example:
  263.  
  264. #define 1024x768x256 80 1024 1024 1184 1312 768 768 772 791 +vsync -hsync
  265.  
  266. # or
  267.  
  268. #define 1024x768x256 1024x768x32K 1024x768x64K
  269. #        :11 1024 1024 1184 1312 768 768 772 791
  270.  
  271. # (yes any whitespace in a command is allowed, even \n !)
  272.  
  273. # There is one really dangerous option (except faking clocks). Please
  274. # use it only if you are sure what you are doing. Wrong setup will
  275. # lead to multiple components accessing your bus at once and thus
  276. # to hardware damage.
  277.  
  278. # setuplinear address size
  279.  
  280. # Sets up a linear frame buffer at address of size size (both are given
  281. # in MB). If the values make sense (for example address <16MB for ISA cards)
  282. # the linear aperture is setup. Since the mach32-driver auto detects configured
  283. # address itself, I strongly discourage use of this command. However I was
  284. # asked for it as some PCI mach32-cards didn't setup the linear aperture correctly.
  285. # Please ensure that the address range from address to address+size is free
  286. # in your system. Obey that due to memory re mapping for example 16MB Ram may
  287. # exceed the 16MB address limit.
  288.  
  289. # Valid mach32-values for size are 1 and 4 (only 4 in PCI configurations),
  290. # address + size have to be below 16MB for ISA, 4096GB for multiplexed PCI,
  291. # and 128MB else. Example: (my setup)
  292.  
  293. # setuplinear 64 4 # 4MB linear frame buffer at 0x4000000
  294.  
  295. # It is also valid to specify:
  296. # setuplinear 0 0 # This will actually disable/de-configure any linear
  297. # frame buffer. Useful to disable mach32 aperture even if it is enabled
  298. # in the EEPROM.
  299.  
  300. # There is one additional option that makes only sense for mach32:
  301.  
  302. # mach32eeprom filename
  303.  
  304. # The mach32 has an EEPROM that is filled with predefined modes that can be
  305. # set very convenient with a config utility from ATI. These settings will
  306. # be used by svgalib. Unfortunately reading the mach32eeprom causes noise
  307. # on the video signal. If the resulting flicker annoys you or screws your
  308. # monitor up, specify a filename from which to read the contents of the
  309. # EEPROM. If the file cannot be read, the EEPROM is read out and the file
  310. # is created. There is a very simple checksum put into this file. Although
  311. # it can easily fooled, don't change the file except you know very very
  312. # well what you are doing. Also as long as the file exists changes in the
  313. # mach32 EEPROM have no effect.. delete the file to recreate an updated
  314. # version on next use of svgalib. You should ensure that the permissions of
  315. # the file don't allow usual users to change it. (This may happen if umask
  316. # has a bad value when svgalib creates the file)
  317.  
  318. # Example:
  319.  
  320. # mach32eeprom /etc/mach32.eeprom
  321.  
  322. # The mach32 has also a few intermediate options for low level timing adjust.
  323. # These are:
  324.  
  325. # vfifo8 number
  326. # vfifo16 number
  327. # vfifo24 number
  328. # vfifo32 number
  329. # blank number
  330. # latch number
  331.  
  332. # See README.mach32 for details
  333.